<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-oa-seniortitleappointment" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			点击工具栏 <strong><font color="red">查询条件</font></strong> 可根据需要设置数据查询及过滤条件,条件设置完成后点击工具栏 <Strong><font color="red">执行查询</font></strong> 按钮，可查看查询结果
		</p>
	</div>
	<div class="condition easyui-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
		<form class="condition-form">
			<fieldset>
			<table> 	
				<tr>
					<th>姓名</th>
					<td><input name="apply_name"  id = "apply_name" class="easyui-textbox easyui-validatebox" style="width:200px"/></td>
					<th>联系电话</th>
					<td><input name="contact_number" id="contact_number" type="text"  class="easyui-textbox easyui-validatebox" style="width:200px"/></td>
					<th>专业</th>
					<td><input name="major" id="major" type="text"  class="easyui-textbox easyui-validatebox" style="width:200px"/></td>
				</tr>
			</table>
			</fieldset>
		</form>
	</div>
	<div class="search-mm">
			
			<div name="apply_name">姓名</div>
			<div name="contact_number">联系电话</div>
			<div name="major">专业</div>	
	</div>
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
			
				</td>
				<td style="padding-left:2px">
					<input class="searchbox" type="text"/>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  plain="true" >查询条件</a>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" iconCls="icon-search" plain="true" >执行查询</a>
				</td>
			</tr>
		</table>
	</div>
	<table class="easyui-datagrid dg-list" 
		data-options="rownumbers:true,
		animate: true,						
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',						
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true",
		rowStyler: function (index, row) {
			if(row.flowStatus && row.flowStatus ==2){                
                    return 'background-color:red;'                
             }                    
        }">
		
		<thead>						
			<tr>
				<th field="ck" checkbox="true" ></th>
				<th field="contact_number" width="60" align="center">联系电话</th>			
				<th field="apply_name" width="60" align="center">姓名</th>	
				<th field="major" width="60" align="center">专业</th>
				<th field="apply_deptname" width="60" align="center">所在科室</th>	
				<th field="concrete_item" width="60" align="center">具体事项</th>
				<th field="flowState" width="80" align="center">当前环节</th>	
			</tr>
		</thead>
		
	</table>
	  
	
</div> 

 
<script>
requirejs(['listPageModule','oaSeniorTitleAppointment','domReady!'],function(flowedit,oaSeniorTitleAppointment,doc){
	flowedit.init({doc:doc,
		rootId:'panel-oa-seniortitleappointment',
		subSystemCode:'sysman',
		moduleCode:'oaSeniorTitleAppointment',
		editWindow:'oa-seniortitleappointment-win',
		initQueryParams:{flowtype:'0'},
		querylistUrl:'getTaskListDomain',		
		onWindowClose:oaSeniorTitleAppointment.closeWindow,
		initElement:oaSeniorTitleAppointment.initList,
		rowDblClick:oaSeniorTitleAppointment.rowDblClick});
});	
</script>

